package com.bstek.sample.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName(value = "tb_user", autoResultMap = true)
@ApiModel("用户表")
public class TbUser implements Serializable {


    /**
     * 用户id
     */
    @TableId
    private Long id;

    /**
     * 用户名
     */
    @TableField(value = "user_name")
    private String username;



    /**
     * 注册手机号
     */
    private String phone;


    private String city;

    private String photo;

    private String province;

    private String address;



    /**
     * 账户余额
     */
    private Integer salary;


}
